package org.bsplus.util.pagination;

import java.io.Serializable;

public class PageLoadRequest implements Serializable
{
    private int limit;
    private int offset;

    public PageLoadRequest()
    {
    }

    public PageLoadRequest(int limit, int offset)
    {
        this.limit = limit;
        this.offset = offset;
    }

    /**
     * @return the limit
     */
    public int getLimit()
    {
        return limit;
    }

    /**
     * @return the offset
     */
    public int getOffset()
    {
        return offset;
    }

    /**
     * @param limit the limit to set
     */
    public void setLimit(int limit)
    {
        this.limit = limit;
    }

    /**
     * @param offset the offset to set
     */
    public void setOffset(int offset)
    {
        this.offset = offset;
    }
}
